package com.fly.springbootTemplate.controller;

import com.fly.springbootTemplate.util.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/test")
public class LoginTestController {
    @RequestMapping("/gotoLogin")
    public String gotoLogin() {
        return "login";
    }
    @RequestMapping("/login")
    public String login( String username, String password) {
        System.out.println(username+password);
        return "login";
    }

}
